﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="zipcode.aspx.cs" Inherits="admin_zipcode"  MasterPageFile="~/admin/MasterPage2.master"%>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content1" runat="server"     contentplaceholderid="ContentPlaceHolder1"   >
        <table id="Table1" width="1100"  runat="server" style="background-color:White;"  
            bgcolor="White" >
        <tr>
            <td class="letralogoblanca"  bgcolor="#FA7E02" align="center">Manage Zipcode
                <br />
                <asp:Label ID="lerror2" runat="server" CssClass="letraRojaError" Text="Label" 
                    Visible="False"></asp:Label>
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
            </td>
        </tr>
        <tr>
            <td runat="server">
                <asp:TabContainer ID="pestanas" runat="server" Width="1100px" 
                    ActiveTabIndex="3" >
                    <asp:TabPanel ID="tabstate" runat="server" Width="700px">
                    <HeaderTemplate>STATE</HeaderTemplate>
                        <ContentTemplate>
                           

                                <table id="Table3" runat="server">
                                <tr runat="server">
                                    <td colspan="3" runat="server">STATE</td>
                                </tr>
                                    <tr runat="server">
                                        <td runat="server"><asp:TextBox ID="tb_state" runat="server" Width="130px"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" 
                                                TargetControlID="tb_state" WatermarkCssClass="letraWaterMask13" 
                                                WatermarkText="State Name" Enabled="True">
                                            </asp:TextBoxWatermarkExtender>
                                        </td>
                                        <td runat="server">
                                            <asp:TextBox ID="tb_stateinitial" runat="server" Width="130px"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" 
                                                WatermarkCssClass="letraWaterMask13" WatermarkText="State Initial" 
                                                TargetControlID="tb_stateinitial" Enabled="True">
                                            </asp:TextBoxWatermarkExtender>

                                        </td>
                                        <td runat="server">
                                            <asp:LinkButton ID="LinkButton1" runat="server" CssClass="button2_ok" 
                                                onclick="LinkButton1_Click" Enabled="False"><span>Add</span></asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr runat="server">
                                        <td colspan="3" runat="server">
                                            <asp:Panel ID="Panel1" runat="server" Width="700px">
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                                
                            
                        
                        </ContentTemplate>
                    </asp:TabPanel>
                <asp:TabPanel ID="tabcountie" runat="server" Width="700px">
                <HeaderTemplate>COUNTIES</HeaderTemplate>
                    <ContentTemplate>
                         <asp:Panel ID= "county" runat="server" >
                                <table id="Table2" runat="server">
                                    <tr runat="server">
                                        <td colspan="4" runat="server">Counties</td>
                                    </tr>
                                    <tr runat="server">
                                        <td runat="server">
                                            <asp:DropDownList ID="dd1" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd1_SelectedIndexChanged" Width="130px"> </asp:DropDownList>
                                        </td>
                                        <td runat="server">
                                            <asp:TextBox ID="tb1" runat="server" Width="130px"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server"  
                                                WatermarkCssClass="letraWaterMask13" WatermarkText="County Name" 
                                                TargetControlID="tb1" Enabled="True">
                                            </asp:TextBoxWatermarkExtender>
                                        </td>
                                        <td runat="server">
                                            <asp:TextBox ID="tb2" runat="server" Width="130px"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server" 
                                                WatermarkCssClass="letraWaterMask13" WatermarkText="County Initial" 
                                                TargetControlID="tb2" Enabled="True">
                                            </asp:TextBoxWatermarkExtender>
                                        </td>
                                        <td runat="server">
                                            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="button2_ok" 
                                                ><span>Add</span></asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr runat="server">
                                        <td colspan="4" runat="server">
                                            <asp:Panel ID="Panel2" runat="server">
                                                
                                                <asp:Table ID="Table4" runat="server" Width="600px">
                                                </asp:Table>
                                                
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                            
                            </asp:Panel>
                    </ContentTemplate>
                
                </asp:TabPanel>
                <asp:TabPanel ID="tab_cities" runat="server">
                    <HeaderTemplate>Cities</HeaderTemplate>
                <ContentTemplate>
                     <asp:Panel ID="PCities" runat="server">
                                <table>
                                    <tr>
                                        <td colspan="5">Cities</td>
                                    </tr>
                                     <tr>
                                        <td>State</td>
                                        <td>County</td>
                                        <td>City</td>
                                      
                                    </tr>
                                    <tr>
                                        <td><asp:DropDownList ID="dd10" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd10_SelectedIndexChanged" Width="130px"></asp:DropDownList></td>
                                        <td><asp:DropDownList ID="dd11" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd11_SelectedIndexChanged" Width="130px"></asp:DropDownList></td>
                                        <td><asp:TextBox ID="tb10" runat="server" Width="130px"></asp:TextBox>
                                            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender5" runat="server" 
                                                WatermarkCssClass="letraWaterMask13" WatermarkText="City Name" 
                                                TargetControlID="tb10" Enabled="True">
                                            </asp:TextBoxWatermarkExtender>
                                        </td>
                                        
                                        <td><asp:LinkButton ID="LinkButton3" runat="server" CssClass="button2_ok" Enabled="False" 
                                                ><span>Add</span></asp:LinkButton>
                                         </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5">
                                            <asp:Panel ID="Panel3" runat="server"></asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                                
                            </asp:Panel>
                </ContentTemplate>
                </asp:TabPanel>
                    
                 <asp:TabPanel runat="server" ID="tab_zip" Width="900px">
                    <HeaderTemplate>Zip</HeaderTemplate>
                <ContentTemplate>
                       <asp:Panel ID="Pzip" runat="server" >
                                <table>
                                    <tr>
                                        <td colspan="5" >Zip Code</td>
                                    </tr>
                                    <tr>
                                        <td>State</td>
                                        <td>County</td>
                                        <td>City</td>
                                        <td>Zip</td>
                                    </tr>
                                    <tr>
                                        <td ><asp:DropDownList ID="dd20" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd20_SelectedIndexChanged" Width="130px"></asp:DropDownList></td>
                                        <td><asp:DropDownList ID="dd21" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd21_SelectedIndexChanged" Width="130px"></asp:DropDownList></td>
                                        <td><asp:DropDownList ID="dd22" runat="server" AutoPostBack="True" 
                                                onselectedindexchanged="dd22_SelectedIndexChanged" Width="130px"></asp:DropDownList></td>
                                       <td><asp:TextBox ID="tb20" runat="server" Width="130px"></asp:TextBox>
                                           <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender6" runat="server" WatermarkCssClass="letraWaterMask13" WatermarkText="Zip Code" TargetControlID="tb20">
                                           </asp:TextBoxWatermarkExtender>
                                       </td>
                                        <td>  <asp:LinkButton ID="LinkButton4" runat="server" CssClass="button2_ok" 
                                                ><span>Add</span></asp:LinkButton></td>
                                    </tr>
                                    <tr>
                                        <td colspan="5" >
                                            <asp:Panel ID="zipcoedes" runat="server" Width="700"></asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                </ContentTemplate>
                </asp:TabPanel>
                 <asp:TabPanel runat="server" ID="tab_coverage">
                    <HeaderTemplate>Coverage</HeaderTemplate>
                <ContentTemplate>
                     <asp:Panel ID="Pcoverage" runat="server" BackColor="White" >
                                <asp:Label ID="lb_mensaje" runat="server"></asp:Label>
                                <table width="100%">
                                <tr valign="top">
                                <td valign="top">
                                <table width="300px" >
                                    <tr class="caption">
                                        <td>Coverage
                                            <asp:LinkButton ID='lnk_savecove' runat='server' CssClass='button2_ok' OnClick='lnk_savecove_Click' ><span>Save</span></asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                         <asp:GridView ID="coverage" runat="server"  GridLines="Horizontal" Caption=""
                                        BackColor="White"   onrowdatabound="gv_coverage_RowDataBound" Width="300px" >
                                  
                                             <AlternatingRowStyle BackColor="LightGray" />
                                  
                                    </asp:GridView>
                                   
                                        </td>
                                    </tr>
                                </table>
                                </td>
                                <td>
                                 
                                    <table width="320px">
                                    <tr align="left" class="caption">
                                        <td>No Coverage
                                            <asp:LinkButton ID='LinkButton5' runat='server' CssClass='button2_ok' OnClick='lnk_savenocove_Click' ><span>Save</span></asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                      <asp:GridView ID="coverageno" runat="server"  BackColor="White"  
                                                onrowdatabound="coverageno_RowDataBound" GridLines="Horizontal"   Width="320px"
                                        
                                      >
                    
                                          <AlternatingRowStyle BackColor="LightGray" />
                    
                                    </asp:GridView>
                                    </td>
                                    </tr>
                                    </table>
                                    </td>
                                 </tr>
                                 </table>
                                </asp:Panel>
                </ContentTemplate>
                </asp:TabPanel>
                </asp:TabContainer>
            </td>
        </tr>
       
       
    </table>
</asp:Content>

 
